package com.citic.netty.common.protocol.response;

import java.util.List;

import com.citic.netty.common.protocol.Command;
import com.citic.netty.common.protocol.Packet;

public class CreateGroupResponsePacket extends Packet {
	
	private static final long serialVersionUID = 1L;

	private boolean success;

    private String groupId;

    private List<String> usernames;

    public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public List<String> getUsernames() {
		return usernames;
	}

	public void setUsernames(List<String> usernames) {
		this.usernames = usernames;
	}

	@Override
    public Byte getCommand() {
        return Command.CREATE_GROUP_RESPONSE;
    }
}
